package com.aleaho.cftrack.entity;

/**
 * @author Aleaho
 * @version 1.0
 * @date 2017/11/13
 * @desc 组织和人员树的基础数据结构
 */

public class DepartmentAndUser {

    public DepartmentAndUser() {
    }

    public DepartmentAndUser(int flag, String mId, String mName, String mDescription, String mUserName) {
        this.flag = flag;
        this.mId = mId;
        this.mName = mName;
        this.mDescription = mDescription;
        this.mUserName = mUserName;
    }

    /**
     * 部门或人员的标识，
     * 0：标识部门
     * 1：标识人员
     * -1：标识错误
     */
    public int flag = -1;
    /**
     * 部门或人员编号
     */
    public String mId = "";
    /**
     * 部门或人员的名称
     */
    public String mName = "";

    /**
     * 部门或人员的描述
     */
    public String mDescription = "";

    /**
     * 人员的用户名
     */
    public String mUserName = "";

}